Dial Plan Examples

Hunt Groups

When x is called, user2 and user3 are dialed simultaneously and after 10 seconds (unless one of them answers the call) user4 is dialed.

dial_plan_rule1

Figure. Rule definition in older versions.

Figure. Rule definition in newer versions.

Another example:

dial_plan_rule2

dial_plan_rule3

Figure. Rules definitions in older versions.

When x is dialed, user2 is called and after 5 seconds (unless he/she answers the call) user3 is called and after 5 seconds (unless he/she answers the call) user4 is called.

Figure. Rules definitions in newer versions.

Note: The order of dial plans in the list (within the Dial Plan tab) is important! If the dial plan with y is placed above the x one in the dial plan list, users 3 and 4 will not be called.

URI Is Not Registered

In this case, user4 is both the name of a dial plan and also an existing user account on the server. When user4 is dialed then user2 is called.

Figure. URI is not registered is only available in older versions.

If you want to prefer the user account before the name of the dial plan, the URI is not registered box must be checked. In this case, calls are redirected when user4 is not logged on.

Circular Hunting

If Forwarding Time is set to 0 and x is dialed, all target users (2, 3 and 4) are rung simultaneously.

dial_plan_rule5

Figure. Rule definition in older versions.

Figure. Rule definition in newer versions.

If Forwarding Time is set e. g. to 5, user2 is dialed, after 5 seconds user2 and user3 are called simultaneously and after another 5 seconds user2, user3 and user4 are called simultaneously.

Note: In this case if user3 is inaccessible, the next user in the list (user4 in this case) is called instead.

Setting of Call Forwarding

Figure. Rule definition in older versions.

Figure. Rule definition in newer versions.

When an administrator creates this rule, the regex says that all calls to strings starting with *13 will be forwarded to the given string which follows after *13 (up to the @).

So when user1@icewarpdemo.com dials e. g. *1320, IceWarp Server creates the following rule:

dial_plan_rule7

Figure. Rule definition in older versions.

Figure. Rule definition in newer versions.

It means that all calls to user1 will be forwarded to 20@icewarpdemo.com.

This can also be seen within user's account settings:

Figure. VoIP tab in user account.

To allow users to disable call forwarding, create a rule similar to this one:

dial_plan_rule8

Figure. Rule definition in older versions.

Figure. Rule definition in newer versions.

Leave the Target field blank. Users can disable set call forwarding by dialing *88.

Re-dial Last Number

This rule allows users to dial the number of the last connection regardless of whether the user initiated, received, rejected or missed this call.

dial_plan_rule9

Figure. Rule definition in older versions.

Figure. Rule definition in newer versions.

Call Pickup

Imagine the situation there is just one employee left in the office and his colleague's phone begins to ring on the other side of the office. The employee does not need to physically go to his colleague's desk and pick up the phone. He/she can simply dial a given number to answer the phone.

This group of colleagues has to be entered into the Target field (and before defined within the VoIP – Extensions/Queues tab).

dial_plan_rule9b

Figure. Rule definition in older versions.

Figure. Rule definition in newer versions.